package org.truenewx.tnxdemo.portal;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.SpringApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.truenewx.tnxjee.core.util.LogUtil;
import org.truenewx.tnxjee.Framework;

@EnableFeignClients
@SpringBootApplication(scanBasePackageClasses = {Framework.class, TnxdemoPortalWebApp.class})
public class TnxdemoPortalWebApp {

    public static void main(String[] args) {
        long time0 = System.currentTimeMillis();
        SpringApplication.run(TnxdemoPortalWebApp.class, args);
        long time1 = System.currentTimeMillis();
        LogUtil.info(TnxdemoPortalWebApp.class, "====== Successfully started tnxdemo-portal, took {} seconds ======", (time1 - time0) / 1000);
    }

}
